// 北京
var tempArray = [
				{val: "0-100000",per:0.1},
				{val: "100000-1000000",per:0.06},
				{val: "1000000-10000000",per:0.04},
				{val: "10000000-A",per:0.02}
			];
console.log(getlayyerFee(tempArray,3000,3000000,false,true))

//安徽
var tempArray = [
				{val: "0-100000",per:""},
				{val: "100000-500000",per:"0.04-0.06"},
				{val: "500000-1000000",per:"0.03-0.05"},
				{val: "1000000-5000000",per:"0.02-0.04"},
				{val: "5000000-10000000",per:"0.01-0.03"},
				{val: "10000000-A",per:"0.01-0.02"}
			];
			
console.log(getlayyerFee(tempArray,"1000-8000",9000085,true,true))

// 福建
var tempArray = [
				{val: "0-100000",per:""},
				{val: "100000-1000000",per:"0.06-0.09"},
				{val: "1000000-5000000",per:"0.04-0.06"},
				{val: "5000000-10000000",per:"0.02-0.04"},
				{val: "10000000-50000000",per:"0.01-0.03"},
				{val: "50000000-100000000",per:"0.005-0.015"},
				{val: "100000000-A",per:"0.0025-0.01"}
			];
			
console.log(getlayyerFee(tempArray,"6000-10000",5000058,true,false))

//甘肃
var tempArray = [
				{val: "0-100000",per:"0.1-0.1"},
				{val: "100000-500000",per:"0.07-0.09"},
				{val: "500000-1000000",per:"0.06-0.08"},
				{val: "1000000-5000000",per:"0.05-0.07"},
				{val: "5000000-10000000",per:"0.04-0.06"},
				{val: "10000000-50000000",per:"0.03-0.05"},
				{val: "50000000-A",per:"0.02-0.04"}
			];
			
console.log(getlayyerFee(tempArray,"3000",1000000,true,true))

//广东
var tempArray = [
				{val: "0-50000",per:""},
				{val: "50000-100000",per:"0.08-0.08"},
				{val: "100000-500000",per:"0.05-0.05"},
				{val: "500000-1000000",per:"0.04-0.04"},
				{val: "1000000-5000000",per:"0.03-0.03"},
				{val: "5000000-10000000",per:"0.02-0.02"},
				{val: "10000000-50000000",per:"0.01-0.01"},
				{val: "50000000-A",per:"0.005-0.005"}
			];
			
console.log(getlayyerFee(tempArray,"1000-8000",8000086,true,true))

//广西
var tempArray = [
				{val: "0-100000",per:0.05},
				{val: "100000-500000",per:0.045},
				{val: "500000-1000000",per:0.04},
				{val: "1000000-5000000",per:0.03},
				{val: "5000000-10000000",per:0.02},
				{val: "10000000-A",per:0.01}
			];
			
console.log(getlayyerFee(tempArray,1000,900000,false,true))

//贵州
var tempArray = [
				{val: "0-10000",per:""},
				{val: "10000-100000",per:0.07},
				{val: "100000-500000",per:0.06},
				{val: "500000-1000000",per:0.05},
				{val: "1000000-5000000",per:0.04},
				{val: "5000000-10000000",per:0.03},
				{val: "10000000-20000000",per:0.02},
				{val: "20000000-A",per:0.01}
			];
			
console.log(getlayyerFee(tempArray,6000,100,false,true))

//海南
var tempArray = [
				{val: "0-100000",per:0.06},
				{val: "100000-500000",per:0.05},
				{val: "500000-1000000",per:0.04},
				{val: "1000000-5000000",per:0.03},
				{val: "5000000-10000000",per:0.02},
				{val: "10000000-50000000",per:0.01},
				{val: "50000000-A",per:0.005}
			];
			
console.log(getlayyerFee(tempArray,2000,900000,false,true))

// 河北
var tempArray = [
				{val: "0-100000",per:0.08},
				{val: "100000-1000000",per:0.06},
				{val: "1000000-10000000",per:0.04},
				{val: "10000000-A",per:0.02}
			];
			
console.log(getlayyerFee(tempArray,3000,100000,false,true))

//河南
var tempArray = [
				{val: "0-100000",per:''},
				{val: "100000-1000000",per:"0.03-0.05"},
				{val: "1000000-10000000",per:"0.02-0.04"},
				{val: "10000000-50000000",per:"0.01-0.03"},
				{val: "50000000-A",per:"0.005-0.02"}
			];
			
console.log(getlayyerFee(tempArray,"3000-5000",2000500,true,true))


//黑龙江
var tempArray = [
				{val: "0-20000",per:""},
				{val: "20000-100000",per:0.04},
				{val: "100000-500000",per:0.03},
				{val: "500000-1000000",per:0.02},
				{val: "1000000-5000000",per:0.01},
				{val: "5000000-10000000",per:0.005},
				{val: "10000000-50000000",per:0.0025},
				{val: "50000000-A",per:0.002}
			];
			
console.log(getlayyerFee(tempArray,800,100000,false,true))

//湖北
var tempArray = [
				{val: "0-100000",per:''},
				{val: "100000-1000000",per:"0.01-0.05"},
				{val: "1000000-5000000",per:"0.005-0.03"},
				{val: "5000000-10000000",per:"0.003-0.02"},
				{val: "10000000-50000000",per:"0.002-0.015"},
				{val: "50000000-A",per:"0.001-0.01"}
			];
			
console.log(getlayyerFee(tempArray,"600-8000",1000000,true,true))

//湖南
var tempArray = [
				{val: "0-100000",per:''},
				{val: "100000-500000",per:"0.06-0.08"},
				{val: "500000-5000000",per:"0.04-0.06"},
				{val: "5000000-20000000",per:"0.02-0.04"},
				{val: "20000000-100000000",per:"0.01-0.02"},
				{val: "100000000-A",per:"0.005-0.01"}
			];
			
console.log(getlayyerFee(tempArray,"3000-10000",200000,true,true))

//吉林
var tempArray = [
				{val: "0-100000",per:'0.08-0.1'},
				{val: "100000-500000",per:"0.07-0.09"},
				{val: "500000-1000000",per:"0.06-0.08"},
				{val: "1000000-5000000",per:"0.05-0.07"},
				{val: "5000000-10000000",per:"0.04-0.06"},
				{val: "10000000-20000000",per:"0.03-0.05"},
				{val: "20000000-A",per:"0.02-0.04"}
			];
			
console.log(getlayyerFee(tempArray,"",2000,true,true))

//江苏
var tempArray = [
				{val: "0-10000",per:''},
				{val: "10000-100000",per:"0.06-0.07"},
				{val: "100000-500000",per:"0.05-0.06"},
				{val: "500000-1000000",per:"0.04-0.05"},
				{val: "1000000-5000000",per:"0.03-0.04"},
				{val: "5000000-10000000",per:"0.02-0.03"},
				{val: "10000000-100000000",per:"0.01-0.02"},
				{val: "100000000-A",per:"0.005-0.01"}
			];
			
console.log(getlayyerFee(tempArray,"2500-10000",200000,true,true))

//江西
var tempArray = [
				{val: "0-50000",per:''},
				{val: "50000-100000",per:"0.015-0.05"},
				{val: "100000-1000000",per:"0.012-0.04"},
				{val: "1000000-5000000",per:"0.01-0.03"},
				{val: "5000000-10000000",per:"0.005-0.02"},
				{val: "10000000-50000000",per:"0.002-0.015"},
				{val: "50000000-A",per:"0.0011-0.0011"}
			];
			
console.log(getlayyerFee(tempArray,"1000-6000",60000000,true,true))

//辽宁
var tempArray = [
				{val: "0-100000",per:'0.1-0.1'},
				{val: "100000-500000",per:"0.07-0.09"},
				{val: "500000-1000000",per:"0.06-0.08"},
				{val: "1000000-5000000",per:"0.05-0.07"},
				{val: "5000000-10000000",per:"0.04-0.06"},
				{val: "10000000-20000000",per:"0.03-0.05"},
				{val: "20000000-50000000",per:"0.02-0.04"},
				{val: "50000000-A",per:"0.01-0.03"}
			];
			
console.log(getlayyerFee(tempArray,5000,9900000,true,true))

//内蒙古
var tempArray = [
				{val: "0-10000",per:''},
				{val: "10000-100000",per:"0.05-0.06"},
				{val: "100000-500000",per:"0.04-0.05"},
				{val: "500000-1000000",per:"0.03-0.04"},
				{val: "1000000-5000000",per:"0.02-0.03"},
				{val: "5000000-10000000",per:"0.01-0.02"},
				{val: "10000000-50000000",per:"0.005-0.01"},
				{val: "50000000-A",per:"0.005-0.005"}
			];
			
console.log(getlayyerFee(tempArray,"1000-1000",100,true,true))

//宁夏
var tempArray = [
				{val: "0-10000",per:''},
				{val: "10000-100000",per:"0.08-0.09"},
				{val: "100000-1000000",per:"0.06-0.08"},
				{val: "1000000-5000000",per:"0.04-0.06"},
				{val: "5000000-10000000",per:"0.02-0.04"},
				{val: "10000000-50000000",per:"0.01-0.02"},
				{val: "50000000-A",per:"0.005-0.01"}
			];
			
console.log(getlayyerFee(tempArray,"1000-3000",8800000,true,true))

//青海
var tempArray = [
				{val: "0-100000",per:0.055},
				{val: "100000-200000",per:0.05},
				{val: "200000-500000",per:0.045},
				{val: "500000-1000000",per:0.035},
				{val: "1000000-2000000",per:0.03},
				{val: "2000000-5000000",per:0.02},
				{val: "5000000-A",per:0.01}
			];
			
console.log(getlayyerFee(tempArray,"",200000,false,true))

//山东
var tempArray = [
				{val: "0-10000",per:''},
				{val: "10000-100000",per:"0.06-0.09"},
				{val: "100000-500000",per:"0.05-0.06"},
				{val: "500000-1000000",per:"0.04-0.05"},
				{val: "5000000-10000000",per:"0.02-0.04"},
				{val: "1000000-5000000",per:"0.03-0.04"},
				{val: "50000000-A",per:"0.02-0.03"}
			];
			
console.log(getlayyerFee(tempArray,"2500-3000",200000,true,true))

//山西
var tempArray = [
				{val: "0-100000",per:0.06},
				{val: "100000-500000",per:0.05},
				{val: "500000-1000000",per:0.04},
				{val: "1000000-5000000",per:0.03},
				{val: "5000000-10000000",per:0.02},
				{val: "10000000-50000000",per:0.015},
				{val: "50000000-A",per:0.01}
			];
			
console.log(getlayyerFee(tempArray,2000,200000,false,true))

//陕西
var tempArray = [
				{val: "0-10000",per:""},
				{val: "10000-500000",per:0.05},
				{val: "500000-1000000",per:0.04},
				{val: "1000000-5000000",per:0.03},
				{val: "5000000-10000000",per:0.02},
				{val: "10000000-50000000",per:0.01},
				{val: "50000000-A",per:0.005}
			];
			
console.log(getlayyerFee(tempArray,1000,200000,false,true))

//上海
var tempArray = [
				{val: "0-100000",per:'0.12-0.12'},
				{val: "100000-1000000",per:"0.05-0.07"},
				{val: "1000000-10000000",per:"0.03-0.05"},
				{val: "10000000-A",per:"0.01-0.03"}
			];
			
console.log(getlayyerFee(tempArray,3000,80000,true,true))

//四川
var tempArray = [
				{val: "0-100000",per:'0.1-0.1'},
				{val: "100000-500000",per:"0.07-0.09"},
				{val: "500000-1000000",per:"0.06-0.08"},
				{val: "1000000-5000000",per:"0.05-0.07"},
				{val: "5000000-10000000",per:"0.04-0.06"},
				{val: "10000000-20000000",per:"0.03-0.05"},
				{val: "20000000-50000000",per:"0.02-0.04"},
				{val: "50000000-A",per:"0.01-0.03"}
			];
			
console.log(getlayyerFee(tempArray,5000,8000888,true,true))

//天津
var tempArray = [
				{val: "0-100000",per:0.08},
				{val: "100000-1000000",per:0.06},
				{val: "1000000-10000000",per:0.04},
				{val: "10000000-A",per:0.02}
			];
			
console.log(getlayyerFee(tempArray,3000,8000888,false,true))

//西藏
var tempArray = [
				{val: "0-100000",per:'0.06-0.06'},
				{val: "100000-500000",per:"0.035-0.05"},
				{val: "500000-1000000",per:"0.03-0.04"},
				{val: "1000000-5000000",per:"0.015-0.02"},
				{val: "5000000-10000000",per:"0.01-0.015"},
				{val: "10000000-A",per:"0.005-0.005"}
			];
			
console.log(getlayyerFee(tempArray,1000,880000,true,true))

//新疆
var tempArray = [
				{val: "0-10000",per:''},
				{val: "10000-100000",per:"0.05-0.05"},
				{val: "100000-500000",per:"0.04-0.04"},
				{val: "500000-1000000",per:"0.03-0.03"},
				{val: "1000000-5000000",per:"0.02-0.02"},
				{val: "5000000-10000000",per:"0.01-0.01"},
				{val: "10000000-A",per:"0.005-0.005"}
			];
			
console.log(getlayyerFee(tempArray,"500-800",880000,true,true))

//云南
var tempArray = [
				{val: "0-100000",per:"0.05"},
				{val: "100000-500000",per:0.042},
				{val: "500000-1000000",per:0.04},
				{val: "1000000-5000000",per:0.03},
				{val: "5000000-10000000",per:0.02},
				{val: "10000000-20000000",per:0.012},
				{val: "20000000-50000000",per:0.01},
				{val: "50000000-A",per:0.005}
			];
			
console.log(getlayyerFee(tempArray,5000,880000,false,true))

//浙江
var tempArray = [
				{val: "0-100000",per:'0.08-0.08'},
				{val: "100000-500000",per:"0.05-0.06"},
				{val: "500000-1000000",per:"0.04-0.05"},
				{val: "1000000-5000000",per:"0.03-0.04"},
				{val: "5000000-10000000",per:"0.02-0.03"},
				{val: "10000000-A",per:"0.01-0.02"}
			];
			
console.log(getlayyerFee(tempArray,2500,880000,true,true))

//重庆
var tempArray = [
				{val: "0-100000",per:'0.06-0.06'},
				{val: "100000-1000000",per:"0.04-0.05"},
				{val: "1000000-5000000",per:"0.03-0.04"},
				{val: "5000000-10000000",per:"0.02-0.03"},
				{val: "10000000-50000000",per:"0.01-0.02"},
				{val: "50000000-A",per:"0.005-0.01"}
			];
			
console.log(getlayyerFee(tempArray,5000,880000,true,true))

//西安
var tempArray = [
				{val: "0-100000",per:'0.1-0.1'},
				{val: "100000-500000",per:"0.07-0.09"},
				{val: "500000-1000000",per:"0.06-0.08"},
				{val: "1000000-5000000",per:"0.05-0.07"},
				{val: "5000000-10000000",per:"0.04-0.06"},
				{val: "10000000-50000000",per:"0.03-0.05"},
				{val: "50000000-A",per:"0.02-0.04"}
			];
			
console.log(getlayyerFee(tempArray,5000,8055555,true,true))

//福州市
var tempArray = [
				{val: "0-100000",per:''},
				{val: "100000-1000000",per:"0.05-0.1"},
				{val: "1000000-5000000",per:"0.03-0.08"},
				{val: "5000000-10000000",per:"0.015-0.06"},
				{val: "10000000-50000000",per:"0.0075-0.03"},
				{val: "50000000-100000000",per:"0.005-0.015"},
				{val: "100000000-A",per:"0.0025-0.01"}
			];
			
console.log(getlayyerFee(tempArray,"5000-30000",8800000,true,true))

